@extends('app')
@section('content')
<div class="post">
	<form action="{{ url('category/edit') }}" method="post">
	{{ csrf_field() }}
	<input type="hidden" name="category_id" value="{{ $category->id }}">
	  <div class="form-group">
	    <label>分类名称</label>
	    <input type="text" class="form-control" name='category_name' value="{{ $category->category_name }}">
	  </div>
	  <input class="btn btn-primary form-group" type="submit" value="Submit">
	</form>
</div>
@endsection